package com.fz.service.merchant;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.fz.common.ResponseEntity;
import com.fz.dto.merchant.merDept.MerDeptAdd;
import com.fz.dto.merchant.merDept.MerDeptQuery;
import com.fz.dto.merchant.merDept.MerDeptUpd;
import com.fz.entity.merchant.MerDept;
import com.fz.vo.merchant.merDept.MerDeptVo;

import java.util.List;

public interface MerDeptService {

     ResponseEntity<IPage<MerDeptVo>> findMerDeptList(MerDeptQuery merDeptQuery, int pageNum, int pageSize) throws Exception;

     ResponseEntity addMerDept(MerDeptAdd merDeptAdd);

     ResponseEntity updateMerDept(MerDeptUpd merDeptUpd);

     ResponseEntity<List<MerDept>> findMerDeptInSelect();
}
